(function(window, document) {
    angular
        .module('app')
        .controller('accountPayokController', accountPayokController);

    accountPayokController.$inject = [
        'globalService',
        '$stateParams',
        '$cookies'
    ];

    function accountPayokController (globalService, $stateParams, $cookies) {
        var vm = this;
        var key = $stateParams.key;

        vm.account = $cookies.getObject(key);

        alert('此账号已出售三人，为让自己可以正常使用，请不要再去分享！');
    }
})(window, document);
